<html>
    <head>
        <title>Test</title>
        <style>
        </style>
        <script>

document.body.append(<lottie src="lotties/32973-spc-butterfly-loading.json" autoplay loop style="size:200px"/>);

        </script>
    </head>
    <body>

      Lottie element created at runtime:      

    </body>
</html>